﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlutoStudio.Domain.Entities.Auditing
{
   public interface IModificationAudited<TUserKey>:IHasModificationTime where TUserKey:struct
    {
        TUserKey? LastModifierUserId { get; set; }

    }

    public interface IModificationAudited : IModificationAudited<int>
    {
    }


    public interface IModificationAudited<TUser,TUserKey>:IModificationAudited<TUserKey> where TUserKey:struct where TUser:IEntity<TUserKey>
    {
        TUser LastModifierUser { get; set; }
    }
}
